/*
 * @Author: zhangyanxin
 * @Date: 2019-11-20 14:39:32
 * @Last Modified by: taoshiwei
 * @Last Modified time: 2019-04-29 14:32:40
 *
 * 评价管理
 */

import { createAPI } from '@/utils/request'

// 获取评价数据

export const list = (params, data) => createAPI(`/teaching/m/course-comment/list-all?pageNo=${params.pageNo}&pageSize=${params.pageSize}`, 'get', data)

// 删除评价数据
export const remove = data => createAPI(`/teaching/m/course-comment/${data.commentId}`, 'delete', data)
// 批量删除评价数据
export const batch = data => createAPI(`/teaching/m/course-comment/batch-del/${data}`, 'delete', data)
